﻿using Abp.Application.Services.Dto;
using SingleUserMall.Common;
using SingleUserMall.Workers.VO;
using System.ComponentModel;
using System.Threading.Tasks;

namespace SingleUserMall.Workers
{
    /// <summary>
    /// 安装师傅
    /// </summary>
    [Description("安装师傅")]
    public interface IWorkerAppService:IAppService
    {
        /// <summary>
        /// 获取安装师傅列表
        /// </summary>
        /// <returns></returns>
        Task<PagedResultDto<WorkerViewVO>> GetWorkersAsync(PagedForm form);
        /// <summary>
        /// 获取安装师傅详情
        /// </summary>
        /// <param name="form"></param>
        /// <returns></returns>
        Task<WorkerViewVO> GetWorkerAsync(SingleId<long> form);
    }
}
